package com.yanqu.road.server.logic.system;

import com.yanqu.road.entity.enums.eSystemId;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.activity.zhenhuan.ZhenHuanFirstProcessModule;
import com.yanqu.road.server.gameplayer.module.activity.zhenhuan.ZhenHuanSecondProcessModule;
import com.yanqu.road.server.gameplayer.module.activity.zhenhuan.ZhenHuanThirdProcessModule;
import com.yanqu.road.server.gameplayer.module.rebate.ChinaRebateModule;

public class SystemOpenZhenHuanActivity extends BaseSystemOpen{

    public SystemOpenZhenHuanActivity(int systemId, GamePlayer player) {
        super(systemId, player);
    }

    @Override
    public void initSystem() {
        if (systemId == eSystemId.ZhenHuanFirstProcess.getValue()){
            player.getModule(ZhenHuanFirstProcessModule.class).iniSystem();
        } else if (systemId == eSystemId.ZhenHuanSecondProcess.getValue()) {
            player.getModule(ZhenHuanSecondProcessModule.class).iniSystem();
        } else if (systemId == eSystemId.ZhenHuanThirdProcess.getValue()) {
            player.getModule(ZhenHuanThirdProcessModule.class).iniSystem();
        }
    }
}
